package cn.edu.scau.dormitory_management_system.enums;

/**
 * @author ：Vizzk
 * @description：角色枚举类
 * @date ：2021/8/9 17:21
 */
public enum  RoleEnum {
    NONE(0,""),
    STUDENT(1,"学生"),
    DEPT_MANAGER(2,"学院管理员"),
    COLLEGE_MANAGER(3,"学校管理员");

    private Integer roleId;
    private String name;

    RoleEnum(Integer roleId, String name) {
        this.roleId = roleId;
        this.name = name;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
